/**************************
* @Summary 人类成员定义
* @Author 20009200303 赵传博
* @Date 2022/3/22
*****************************/

#ifndef EX1_PEOPLE_H
#define EX1_PEOPLE_H
#include "common.h"

class People {
private:
    string name;
    double val;
    double avg;
    int addTimes;
public:
    People(string name, double val);
    string getName();
    double getVal() const;
    void addVal(double val);
    double getAvg() const;
    void setAvg(double avg);
};


#endif //EX1_PEOPLE_H
